package com.wyb.service.imp;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.client.RestTemplate;

import com.wyb.service.TestService;



public class TestServiceImpl implements TestService {
	@Autowired
    RestTemplate template;
	@Override
	public String execute() {
		return template.getForObject("http://EUREKA-SERVER/hello?name='叶生'", String.class);
	}

}
